<template>
    <div style="display: flex;flex-direction: row;">
        <div style="height: 80px;">
            <img style="width: 80px;height: 80px;" src="./图片/屏幕截图 2024-06-19 142919.png">
        </div>
        <div style=" margin-top:5px;margin-left: 30px;width: 170px;">
            <p style="width: 170px;font-size: 20px;">未登录</p>
        </div>
    </div>
    <div>
        <el-button @click= "denglu" style="width: 310px;margin-left: 20px;margin-top: 570px;" type="primary" round>去登录</el-button>
    </div>
    <RouterView />
  </template>
  
  <style scoped>
  
  </style>
  
  <script setup>
import { useRouter } from 'vue-router';
const router1 = useRouter();
const denglu = () => {
  // 如果是内部路由跳转 (Vue Router)
  router1.push({path:'/denglu'})
};
  </script>
